﻿
namespace FShop.DAL{
    using System;

    ///<summary>
    ///The Class Provides properties for common database table operations. 
    ///</summary>
    ///<remarks>
    ///Changes to this file may cause incorrect behavior and will be lost if  the code is regenerated.
    ///Update the <see cref="NewsDal"/> class if you need to add or change some functionality
    ///</remarks>
    public class News{

#region Private properties

     private System.Int32 news_id ;
     private System.Boolean news_status ;
     private System.String news_title ;
     private System.String news_content ;
     private System.String news_image ;
     private System.Int32 news_hit ;
     private System.Int32 cate_id ;
     private System.String news_intro ;
     private System.DateTime news_createdate ;
     private System.String news_source ;
#endregion

#region Contructor

    public News()
      {
              news_id = int.MinValue;
              news_status = false;
              news_title = string.Empty;
              news_content = string.Empty;
              news_image = string.Empty;
              news_hit = int.MinValue;
              cate_id = int.MinValue;
              news_intro = string.Empty;
              news_createdate = DateTime.MinValue;
              news_source = string.Empty;
      }

#endregion
#region Public properties

      public System.Int32 News_ID 
      {

         get
         {
             return news_id ;
         }
         set
         {
             news_id = value ;
         }

      }
      public System.Boolean News_Status 
      {

         get
         {
             return news_status ;
         }
         set
         {
             news_status = value ;
         }

      }
      public System.String News_Title 
      {

         get
         {
             return news_title ;
         }
         set
         {
             news_title = value ;
         }

      }
      public System.String News_Content 
      {

         get
         {
             return news_content ;
         }
         set
         {
             news_content = value ;
         }

      }
      public System.String News_Image 
      {

         get
         {
             return news_image ;
         }
         set
         {
             news_image = value ;
         }

      }
      public System.Int32 News_Hit 
      {

         get
         {
             return news_hit ;
         }
         set
         {
             news_hit = value ;
         }

      }
      public System.Int32 Cate_ID 
      {

         get
         {
             return cate_id ;
         }
         set
         {
             cate_id = value ;
         }

      }
      public System.String News_Intro 
      {

         get
         {
             return news_intro ;
         }
         set
         {
             news_intro = value ;
         }

      }
      public System.DateTime News_CreateDate 
      {

         get
         {
             return news_createdate ;
         }
         set
         {
             news_createdate = value ;
         }

      }
      public System.String News_Source 
      {

         get
         {
             return news_source ;
         }
         set
         {
             news_source = value ;
         }

      }
#endregion

#region Private methods

#endregion
#region Public  methods

#endregion

  }
}
